
<script type="text/javascript" src="../script/common.js"></script>
<script>
    var a=["hongse","heise"];
    var b=["heise","hongse"];
    if(a.sort().toString()==b.sort().toString()){
//    if(equal(a,b)){
        alert("相等")
    }else{
        alert("不相等")
    }
</script>